package com.xyf.sys.mapper;

import com.xyf.sys.domain.SysProduct;
import com.xyf.sys.vo.ProductListRequestVo;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface SysProductMapper {
    int deleteByPrimaryKey(Long id);

    int insert(SysProduct record);

    int insertSelective(SysProduct record);

    SysProduct selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SysProduct record);

    int updateByPrimaryKeyWithBLOBs(SysProduct record);

    int updateByPrimaryKey(SysProduct record);

    List<SysProduct> selectList(ProductListRequestVo body);

    int count();
}